package com.example.代理模式.静态代理;

/**
 * 我朋友帮忙跑一趟
 */
public class MyFriend implements BuyCosmetics {

    private Watsons watsons;

    public MyFriend(Watsons watsons) {
        this.watsons = watsons;
    }

    @Override
    public void shop() {
        watsons.shop();
    }
}
